[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DIR SEXP

 Function
  Execute the file directories command with desired sub-commands
  specified by SEXP.

 Syntax
  DIR cmds

   cmds  - A string expression with any desired sub-commands for the file
           directory command.

 Remarks
  This statement will allow you to access file directories (the F command
  from the main menu), and any file directory sub-commands, under PPE
  control.  Note that this statement will destroy any previously
  tokenized string expression.  If you have string tokens pending at the
  time of the DIR statment you should save them first and then retokenize
  after the DIR statement is complete.

 Examples
  INTEGER retcode
  SHOWOFF
  OPENCAP "NEWFILES.LST",retcode
  KBDSTUFF CHR(13)
  DIR "N;S;A;NS"
  CLOSECAP
  SHOWON
  SHELL TRUE,retcode,"PKZIP","-mex NEWFILES NEWFILES.LST"
  KBDSTUFF "FLAG NEWFILES.ZIP"

See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson